/**
 * 插槽：特殊属性
 */

import React, { Component } from 'react'
export default class App extends Component {
    render() {
        return (
            <div>
                <Child>
                    <div>111111111</div>
                    <div>222222222</div>
                    <div>333333333</div>
                </Child>
            </div>
        )
    }
}
class Child extends Component {
    render() {
        return (
            <div>
                App
                {this.props.children[0]}
                {this.props.children[2]}
                {this.props.children[1]}
            </div>
        )
    }
}
